﻿<%@ Control Language="C#" ClassName="GoldPriceHtmlContentFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataUrl" runat="server" Text="Url:" AssociatedControlID="dataUrl" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUrl" Text='<%# Bind("Url") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataDomainName" runat="server" Text="Domain Name:" AssociatedControlID="dataDomainName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataDomainName" Text='<%# Bind("DomainName") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataViewCount" runat="server" Text="View Count:" AssociatedControlID="dataViewCount" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataViewCount" Text='<%# Bind("ViewCount") %>'></asp:TextBox><asp:RangeValidator ID="RangeVal_dataViewCount" runat="server" Display="Dynamic" ControlToValidate="dataViewCount" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataId" runat="server" Text="Id:" AssociatedControlID="dataId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataId" Text='<%# Bind("Id") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataId" runat="server" Display="Dynamic" ControlToValidate="dataId" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataId" runat="server" Display="Dynamic" ControlToValidate="dataId" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataHtmlContent" runat="server" Text="Html Content:" AssociatedControlID="dataHtmlContent" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataHtmlContent" Text='<%# Bind("HtmlContent") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataPostedDate" runat="server" Text="Posted Date:" AssociatedControlID="dataPostedDate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPostedDate" Text='<%# Bind("PostedDate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataPostedDate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:return false;" /><ajaxToolkit:CalendarExtender runat="server" TargetControlID="dataPostedDate" CssClass="ajaxToolkit-CalendarExtender" Format="dd/MM/yyyy" PopupButtonID="cal_dataPostedDate" id="calext_dataPostedDate" />
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


